package com.ruoyi.jiuzai.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * wuziruku对象 wuziruku
 * 
 * @author ruoyi
 * @date 2025-06-20
 */
public class Wuziruku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long rukuId;

    /** 仓库 */
    @Excel(name = "仓库")
    private Long kuId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long yId;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private String rukuDanhao;

    /** 采购批次 */
    @Excel(name = "采购批次")
    private String rukuPici;

    /** 入库仓库 */
    @Excel(name = "入库仓库")
    private String rukuCangku;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rukuRukudate;

    /** 捐赠用途 */
    @Excel(name = "捐赠用途")
    private String rukuTongtu;

    /** 物资来源 */
    @Excel(name = "物资来源")
    private String rukuLaiyuan;

    /** 捐赠区域 */
    @Excel(name = "捐赠区域")
    private String rukuQuyu;

    /** dizhi */
    @Excel(name = "dizhi")
    private Long dizhiId;

    /** 角色*/
    @Excel(name = "角色")
    private Table12 table12;

    /** 仓库*/
    @Excel(name = "仓库")
    private Cangku cangku;

    /** 仓库明细*/
    @Excel(name = "仓库明细")
    private Cangkumingxi mingxi;


    public void setRukuId(Long rukuId) 
    {
        this.rukuId = rukuId;
    }

    public Long getRukuId() 
    {
        return rukuId;
    }

    public void setKuId(Long kuId) 
    {
        this.kuId = kuId;
    }

    public Long getKuId() 
    {
        return kuId;
    }

    public void setyId(Long yId) 
    {
        this.yId = yId;
    }

    public Long getyId() 
    {
        return yId;
    }

    public void setRukuDanhao(String rukuDanhao) 
    {
        this.rukuDanhao = rukuDanhao;
    }

    public String getRukuDanhao() 
    {
        return rukuDanhao;
    }

    public void setRukuPici(String rukuPici) 
    {
        this.rukuPici = rukuPici;
    }

    public String getRukuPici() 
    {
        return rukuPici;
    }

    public void setRukuCangku(String rukuCangku) 
    {
        this.rukuCangku = rukuCangku;
    }

    public String getRukuCangku() 
    {
        return rukuCangku;
    }

    public void setRukuRukudate(Date rukuRukudate) 
    {
        this.rukuRukudate = rukuRukudate;
    }

    public Date getRukuRukudate() 
    {
        return rukuRukudate;
    }

    public void setRukuTongtu(String rukuTongtu) 
    {
        this.rukuTongtu = rukuTongtu;
    }

    public String getRukuTongtu() 
    {
        return rukuTongtu;
    }

    public void setRukuLaiyuan(String rukuLaiyuan) 
    {
        this.rukuLaiyuan = rukuLaiyuan;
    }

    public String getRukuLaiyuan() 
    {
        return rukuLaiyuan;
    }

    public void setRukuQuyu(String rukuQuyu) 
    {
        this.rukuQuyu = rukuQuyu;
    }

    public String getRukuQuyu() 
    {
        return rukuQuyu;
    }

    public void setDizhiId(Long dizhiId) 
    {
        this.dizhiId = dizhiId;
    }

    public Long getDizhiId() 
    {
        return dizhiId;
    }

    public Table12 getTable12() {
        return table12;
    }

    public void setTable12(Table12 table12) {
        this.table12 = table12;
    }

    public Cangku getCangku() {
        return cangku;
    }

    public void setCangku(Cangku cangku) {
        this.cangku = cangku;
    }


    public Cangkumingxi getMingxi() {
        return mingxi;
    }

    public void setMingxi(Cangkumingxi mingxi) {
        this.mingxi = mingxi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rukuId", getRukuId())
            .append("kuId", getKuId())
            .append("yId", getyId())
            .append("rukuDanhao", getRukuDanhao())
            .append("rukuPici", getRukuPici())
            .append("rukuCangku", getRukuCangku())
            .append("rukuRukudate", getRukuRukudate())
            .append("rukuTongtu", getRukuTongtu())
            .append("rukuLaiyuan", getRukuLaiyuan())
            .append("rukuQuyu", getRukuQuyu())
            .append("dizhiId", getDizhiId())
                .append("table12", getTable12())
                .append("cangku", getCangku())
                .append("mingxi", getMingxi())
            .toString();
    }
}
